package com.qfedu.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user-service")
@Service
public interface UserService {

    @RequestMapping("/getUserInfoByUid/{uid}")
    public String getUserInfoByUid(@RequestParam("uid") Integer uid);

}
